Handling on Diary in database added