size is now saved in the database