Added drawing saving to database