update entryController file