Added update database option

also finished save function for file uploaders