created picture model in db