adding task for hibernate