Fixed pic model and added it to database