addition of diary ajax system