Edited theme working on DB inserting