first amendment to amended AND RESTATED LOAN and security agreement