created create_blog function and added datetime updates for created and updated fields