adding data to pre_create and post_create