implement picture upload_to and enums